﻿
using UnityEditor;
using UnityEngine;

namespace Tool
{
    
    public class CustomWindow :EditorWindow
    {
        [MenuItem("Tools/CustomWindow")]
        public static void ShowWindow()
        {
            GetWindow<CustomWindow>("CustomWindow");
        }
        private void OnGUI()
        {
            if (GUILayout.Toggle( false, "Click Me", GUI.skin.GetStyle("AC Button"), GUILayout.Height(50)))
            {
                Debug.Log("Hello World");
            }
        }
    }
}